package org.smart4j.framework.bean;

import java.io.InputStream;

/**
 * @author djw
 * @time 2017/10/27 16:53
 */
public class FileParam {
    private String fieldName;
    private String fileName;
    private long fileSize;
    private String ContentType;
    private InputStream inputStream;
    public FileParam(String fieldName,String fileName,long fileSize,String contentType,InputStream inputStream){
        this.fieldName=fieldName;
        this.fileName=fileName;
        this.fileSize=fileSize;
        this.ContentType=contentType;
        this.inputStream=inputStream;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public long getFileSize() {
        return fileSize;
    }

    public String getContentType() {
        return ContentType;
    }

    public String getFieldName() {
        return fieldName;
    }

    public String getFileName() {
        return fileName;
    }
}

